package com.wo.cloud.admin.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.wo.cloud.core.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author liry
 * @version 1.0
 * @date Created on 2021/3/8 10:02
 * Description: 角色实体类
 */

@Data
@TableName("sys_role")
@ApiModel(value = "角色对象", description = "系统角色表")
public class SysRole extends BaseEntity {

    @ApiModelProperty(value = "角色名称")
    private String name;

    @ApiModelProperty(value = "角色描述")
    private String code;
}
